package com.fsoft.core.context;

import org.springframework.context.ApplicationContext;

public class SpringContextUtil {
	private static ApplicationContext applicationContext;

	public static ApplicationContext getSpringApplicationContext() {
		return ApplicationContextHolder.getApplicationContext();
	}

	public static ApplicationContext getSpringMvcApplicationMvcContext() {
		return applicationContext;
	}

	public static void setSpringMvcApplicationContext(ApplicationContext cxt) {
		applicationContext = cxt;
	}
}
